package com.cfh.springcloudclientapplication.service;


import com.cfh.springcloudclientapplication.customclient.RestClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@RestClient(name = "${saying.rest.service.name}")
public interface SayingRestService {

    @GetMapping("/say")
    String say(@RequestParam("message") String message);
}
